package com.ship.contract.service;

import com.ship.common.business.service.BaseService;
import com.ship.common.core.base.Export;
import com.ship.common.core.task.ExportTask;

import java.io.File;

/**
 * @author tangshixuan
 * @date 2023-9-6
 */
public interface ExportService extends BaseService<Export> {

    /**
     * 导出完成
     * @param exportId
     * @param file
     * @param path
     */
    void finish(Long exportId, File file, String path);

    /**
     * 导出
     * @param exportTask
     */
    void export(ExportTask exportTask);

}
